<!DOCTYPE HTML>
<html lang="en" >
    <!-- Start book 我旳电子书 -->
    <head>
        <!-- head:start -->
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>textattr文本属性 | 我旳电子书</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.9">
        <meta name="author" content="Melon">
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-toggle-chapters/toggle.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-image-captions/image-captions.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../../md/02css/git.html" />
    
    
    <link rel="prev" href="../../md/02css/flex.html" />
    

        <!-- head:end -->
    </head>
    <body>
        <!-- body:start -->
        
    <div class="book"
        data-level="2.7"
        data-chapter-title="textattr文本属性"
        data-filepath="md/02css/textattr.md"
        data-basepath="../.."
        data-revision="Tue Jun 09 2020 01:19:02 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="md/01html/HTML.html">
            
                
                    <a href="../../md/01html/HTML.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        HTML
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="md/01html/1lebel.html">
            
                
                    <a href="../../md/01html/1lebel.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        HTML标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="md/01html/01list.html">
            
                
                    <a href="../../md/01html/01list.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        列表标签
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="md/02css/01selector.html">
            
                
                    <a href="../../md/02css/01selector.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        css选择器
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="md/02css/float.html">
            
                
                    <a href="../../md/02css/float.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        浮动
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="md/02css/background.html">
            
                
                    <a href="../../md/02css/background.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        背景属性
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="md/02css/position.html">
            
                
                    <a href="../../md/02css/position.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        position定位
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="md/02css/transfrom.html">
            
                
                    <a href="../../md/02css/transfrom.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        transfrom变形
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="md/02css/transition.html">
            
                
                    <a href="../../md/02css/transition.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        transition过渡
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="md/02css/flex.html">
            
                
                    <a href="../../md/02css/flex.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        flex弹性盒子
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="2.7" data-path="md/02css/textattr.html">
            
                
                    <a href="../../md/02css/textattr.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.</b>
                        
                        textattr文本属性
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="md/02css/git.html">
            
                
                    <a href="../../md/02css/git.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.8.</b>
                        
                        git四步骤
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../" >我旳电子书</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="&#x6587;&#x672C;&#x5C5E;&#x6027;">&#x6587;&#x672C;&#x5C5E;&#x6027;</h1>
<ul>
<li>&#x529F;&#x80FD;&#xFF1A;&#x8BBE;&#x7F6E;&#x6587;&#x672C;&#x5916;&#x89C2;&#xFF0C;&#x6BD4;&#x5982;&#x6587;&#x672C;&#x989C;&#x8272;&#xFF0C;&#x6587;&#x672C;&#x7684;&#x5BF9;&#x9F50;&#x65B9;&#x5F0F;&#xFF0C;&#x88C5;&#x9970;&#x6587;&#x672C;</li>
<li>color &#x989C;&#x8272; &#x82F1;&#x6587;&#x5355;&#x8BCD;&#xFF0C;16&#x8FDB;&#x5236; rgb</li>
<li>text-aligh &#x6587;&#x672C;&#x5BF9;&#x9F50; left right center justify(&#x4E24;&#x7AEF;&#x5BF9;&#x9F50;)</li>
<li>text-indent &#x6587;&#x672C;&#x7F29;&#x8FDB; &#x901A;&#x5E38;&#x7F29;&#x8FDB;2em&#xFF08;&#x76F8;&#x5BF9;&#x5355;&#x4F4D;&#xFF0C;&#x5173;&#x4E8E;font-size&#x6709;&#x5173;&#xFF09;</li>
<li>text-decoration &#x6587;&#x672C;&#x88C5;&#x9970; underline&#xFF08;&#x4E0B;&#x5212;&#x7EBF;&#xFF09;overline&#xFF08;&#x4E0A;&#x5212;&#x7EBF;&#xFF09; none</li>
<li>line-height &#x884C;&#x9AD8; &#x63A7;&#x5236;&#x884C;&#x4E0E;&#x884C;&#x4E4B;&#x95F4;&#x7684;&#x8DDD;&#x79BB; -&gt;&#x884C;&#x9AD8;=&#x9AD8; &#x6587;&#x672C;&#x5782;&#x76F4;&#x5C45;&#x4E2D;</li>
<li><p>letter-spacing &#x6307;&#x5B9A;&#x5B57;&#x7B26;&#x95F4;&#x9694; &#x8BE5;&#x5C5E;&#x6027;&#x53EF;&#x4EE5;&#x5C06;&#x6307;&#x5B9A;&#x7684;&#x989D;&#x5916;&#x95F4;&#x9699;&#x6DFB;&#x52A0;&#x5230;&#x6BCF;&#x4E2A;&#x5B57;&#x7B26;&#x4E4B;&#x540E;&#xFF0C;&#x6700;&#x540E;&#x4E00;&#x4E2A;&#x5355;&#x8BCD;&#x4E5F;&#x4F1A;&#x88AB;&#x6DFB;&#x52A0;</p>
<ol>
<li>&#x5143;&#x7D20;&#x7684;&#x663E;&#x793A;&#x6A21;&#x5F0F; display</li>
<li>&#x5757;&#x7EA7;&#x5143;&#x7D20;block</li>
<li>&#x884C;&#x5185;&#x5143;&#x7D20;span</li>
<li>&#x884C;&#x5185;&#x5FEB; inline-block</li>
</ol>
</li>
</ul>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../../md/02css/flex.html" class="navigation navigation-prev " aria-label="Previous page: flex弹性盒子"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../../md/02css/git.html" class="navigation navigation-next " aria-label="Next page: git四步骤"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../../gitbook/app.js"></script>

    
    <script src="../../gitbook/plugins/gitbook-plugin-toggle-chapters/toggle.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"image-captions":{"attributes":{"style":"left: 50%;position: relative;transform: translateX(-50%);"},"caption":"图 _PAGE_LEVEL_._PAGE_IMAGE_NUMBER_ - _CAPTION_","align":"center","variable_name":"_pictures"},"fontsettings":{"theme":"night","family":"sans","size":2},"toggle-chapters":{},"highlight":{}};
    gitbook.start(config);
});
</script>

        <!-- body:end -->
    </body>
    <!-- End of book 我旳电子书 -->
</html>
